package cn.itcast.stat;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class StatProvider {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext cp=new
                ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");


        //启动
        cp.start();
        //持续读取
        System.in.read();
    }
}
